import request from '@/utils/request.js'
const PATH = '/mobile/feedback'

// 新增反馈
export const addFeedback = (data) => request.post(PATH + '/addFeedback', data)

// 查询反馈信息
export const getFeedbackList = ({ page, pageSize, status }) =>
  request.get(PATH, {
    params: {
      page,
      pageSize,
      status
    }
  })

// 根据id获取反馈信息
export const getFeedbackById = ({ id }) => request.get(`${PATH}/${id}`)
